HCL
Skip to main content  
 
   


SPRTechnote


Opening a document that uses the form property launch option '-First Attachment-' unexpectedly prompts with the 'Open With' dialog

Technote Number: 1228163


Problem:
This issue was reported to Quality Engineering and has been fixed in Lotus
Notes version 7.0.2.

Excerpt from the Lotus Notes and Domino Release 7.0.2 MR fix list (available at
http://www.ibm.com/developerworks/lotus):

Editor
SPR# PBAO6GEE4E - The "Select an application" dialog always appeared on a form
enabled with the "Auto Launch - First attachment " option. We now only show
the "open with" dialog when it is needed because there is no program associated
with the file type.


Refer to the Upgrade Central site for details on upgrading Notes/Domino.

The issue is not observed when the @Command AttachmentLaunch function is used
to launch attachments. The PostOpen event of the form design could be modified
to include a Formula that calls @Command([AttachmentLaunch]). However, the
drawback to the workaround is that the user must have editor rights to the
document, because the document must be opened in edit mode in order for the
attachment to be selected.

For example, the following formula will launch the attachment in the Rich Text
field Body. Because the AttachmentLaunch command can be applied to only one
attachment, the @If logic must check that only one attachment is present before
calling the @Command.

@If(@Attachments(@True)=1;
@Do(
@Command([EditDocument];"1");
@Command([EditGotoField];"Body");
@Command([EditSelectAll]);
@Command([AttachmentLaunch]);
@Command([EditDocument]; "0"));
@Return(""))
More >





  Document options
Print this document
Print view

  Search
Search Advanced Search


  Fix list views

 RSS feeds   RSS
Subscribe to the fix list

  Resources
Using this database
View notices

  HCL Support
HCL Support


    About HCL Privacy Contact